package com.tiancheng.trade.settlement.mapper.settlement;

import com.tiancheng.trade.settlement.mapper.TYBaseMapper;
import com.tiancheng.trade.settlement.model.settlement.SettleSummary;
import com.tiancheng.trade.settlement.vo.settlement.admin.SettleQueryVo;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Repository;

import java.util.List;

/**
 * @Entity com.tiancheng.trade.settlement.model.settlement.SettleSummary
 */
@Repository
public interface SettleSummaryMapper extends TYBaseMapper<SettleSummary> {
    /**
     * 根据checkCodes批量更新
     *
     * @param checkCodes List
     * @param dataStatus Integer
     */
    void updateBatch(@Param("checkCodes") List<String> checkCodes, @Param("dataStatus") Integer dataStatus);

    List<SettleSummary> listSettleSummary(SettleQueryVo settleQueryVo);
}